package com.yzc.model.entity.system;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yzc.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "用户")
@TableName("t_user")
public class SysUser extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	@Schema(description = "用户名")//name
	@TableField("username")
	private String username;

	@Schema(description = "密码")//pass
	@TableField("password")
	private String password;

	@Schema(description = "备注")//beizhu
	@TableField("beizhu")
	private String beizhu;

	@Schema(description = "邮箱")
	@TableField("email")
	private String email;

	/*@Schema(description = "状态（1：停用 0：正常）")
	@TableField("status")
	private Integer status;*/


	@TableField(exist = false)
	List<String> userPermsList;
}

